Checks for valid start end