Filtering for operations, in order to not allow for an error.