Taking user id into account when validating overlapping