GBE-537: added overlap check + extra test case (Oliver Bienert))