Science bugfixes.

- Fixed #3254.
- Fixed #3255.