filter out if #filter method returns nil record