Play2: workaround for #SCL-7776
(cherry picked from commit a460340)