Plugin edit-foreign: Add limit where it should stop creating a select