Ignore nil for fm_attributes. Default to page 1 for pagination.