Fixed taxon_preview helper to work properly with postgresql ordering. Fixes #4382