Filter out empty position ranges