Fix for :only in :require

Code in migration guide doesn't work currently