dirPaination: Fix issue with links remaining on empty result set

See issue https://github.com/michaelbromley/angularUtils/issues/16