Controlling Potential Traps for Filtering Solitons in Bose-Einstein Condensates