Support for BEFORE and AFTER, new constraint for Position