filter null and empty values out of arguments array
add activerecord_outer_joins as dependency