Unification of common functionality in Author and Project filters. Preparation for #50