Does seem to be a bug..

For now you can use -ap instead of -p $active