Fixed prototype add fields selector

Fixes #2761